from django.conf.urls import url

from apps.person import views
urlpatterns = [
    url(r'^user/$',views.UserRetrieveUpdateAPIView.as_view()),
    url(r'^user/password/$',views.PassWord.as_view()),
    # url(r'^upload/avatar/$',views.UPloadavatarView.as_view()),

]

from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register('users/like',views.UserLike,basename='like')
router.register('upload/avatar',views.UPloadavatarView,basename='avatar')
urlpatterns += router.urls
